import Main from '@/components/main';
// 接口文档
export const frontDesk = [
  {
    path: 'frontDesk',
    name: 'FrontDesk',
    component: Main,
    meta: {
      title: '前台管理',
      icon: 'icon iconfont iconxitongshezhi'
    },
    children: [
      {
        path: '/front/front1',
        name: 'Front1',
        meta: {
          title: '前台管理1',
          privilege: [
            { title: '查询', name: 'peony-list-query' },
            { title: '新增', name: 'peony-list-add' },
            { title: '编辑', name: 'peony-list-update' },
            { title: '批量删除', name: 'peony-list-batch-delete' },
            { title: '批量导出', name: 'peony-list-batch-export' },
            { title: '导出全部', name: 'peony-list-export-all' }
          ]
        },
        component: () => import('@/views/business/frontDesk/front1.vue')
      },
      {
        path: '/frontDesk/front2',
        name: 'front2',
        meta: {
          title: '岗位管理'
        },
        component: () => import('@/views/business/frontDesk/front2.vue')
      }
    ]
  }
];
